//
//  AppDelegate.swift
//  weibo27
//
//  Created by 董浩 on 16/4/19.
//  Copyright © 2016年 donghao. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        //设置全局外观
        UINavigationBar.appearance().tintColor = UIColor.orangeColor() 
        window = UIWindow(frame: UIScreen.mainScreen().bounds)

        window?.backgroundColor = UIColor.whiteColor()
        window?.rootViewController = MainTabBarViewController()
        
        window?.makeKeyAndVisible()
        
        
        return true
    }

}